<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>ActiveSupport</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../css/github.css" type="text/css" media="screen" />
<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>

</head>

<body>     
    <div class="banner">
        
            <span>Ruby on Rails v4.0.0</span><br />
        
        <h1>
            <span class="type">Module</span> 
            ActiveSupport 
            
        </h1>
        <ul class="files">
            
            <li><a href="../files/activesupport/lib/active_support/backtrace_cleaner_rb.html">activesupport/lib/active_support/backtrace_cleaner.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/basic_object_rb.html">activesupport/lib/active_support/basic_object.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/benchmarkable_rb.html">activesupport/lib/active_support/benchmarkable.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/buffered_logger_rb.html">activesupport/lib/active_support/buffered_logger.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/cache_rb.html">activesupport/lib/active_support/cache.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/cache/file_store_rb.html">activesupport/lib/active_support/cache/file_store.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/cache/mem_cache_store_rb.html">activesupport/lib/active_support/cache/mem_cache_store.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/cache/memory_store_rb.html">activesupport/lib/active_support/cache/memory_store.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/cache/null_store_rb.html">activesupport/lib/active_support/cache/null_store.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/cache/strategy/local_cache_rb.html">activesupport/lib/active_support/cache/strategy/local_cache.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/callbacks_rb.html">activesupport/lib/active_support/callbacks.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/concern_rb.html">activesupport/lib/active_support/concern.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/concurrency/latch_rb.html">activesupport/lib/active_support/concurrency/latch.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/configurable_rb.html">activesupport/lib/active_support/configurable.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/core_ext/hash/conversions_rb.html">activesupport/lib/active_support/core_ext/hash/conversions.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/core_ext/string/output_safety_rb.html">activesupport/lib/active_support/core_ext/string/output_safety.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/dependencies_rb.html">activesupport/lib/active_support/dependencies.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/dependencies/autoload_rb.html">activesupport/lib/active_support/dependencies/autoload.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/deprecation_rb.html">activesupport/lib/active_support/deprecation.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/deprecation/behaviors_rb.html">activesupport/lib/active_support/deprecation/behaviors.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/deprecation/instance_delegator_rb.html">activesupport/lib/active_support/deprecation/instance_delegator.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/deprecation/method_wrappers_rb.html">activesupport/lib/active_support/deprecation/method_wrappers.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/deprecation/proxy_wrappers_rb.html">activesupport/lib/active_support/deprecation/proxy_wrappers.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/deprecation/reporting_rb.html">activesupport/lib/active_support/deprecation/reporting.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/descendants_tracker_rb.html">activesupport/lib/active_support/descendants_tracker.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/duration_rb.html">activesupport/lib/active_support/duration.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/file_update_checker_rb.html">activesupport/lib/active_support/file_update_checker.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/file_watcher_rb.html">activesupport/lib/active_support/file_watcher.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/gzip_rb.html">activesupport/lib/active_support/gzip.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/hash_with_indifferent_access_rb.html">activesupport/lib/active_support/hash_with_indifferent_access.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/inflections_rb.html">activesupport/lib/active_support/inflections.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/inflector/inflections_rb.html">activesupport/lib/active_support/inflector/inflections.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/inflector/methods_rb.html">activesupport/lib/active_support/inflector/methods.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/inflector/transliterate_rb.html">activesupport/lib/active_support/inflector/transliterate.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/json/decoding_rb.html">activesupport/lib/active_support/json/decoding.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/json/encoding_rb.html">activesupport/lib/active_support/json/encoding.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/json/variable_rb.html">activesupport/lib/active_support/json/variable.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/key_generator_rb.html">activesupport/lib/active_support/key_generator.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/lazy_load_hooks_rb.html">activesupport/lib/active_support/lazy_load_hooks.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/log_subscriber_rb.html">activesupport/lib/active_support/log_subscriber.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/log_subscriber/test_helper_rb.html">activesupport/lib/active_support/log_subscriber/test_helper.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/logger_rb.html">activesupport/lib/active_support/logger.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/message_encryptor_rb.html">activesupport/lib/active_support/message_encryptor.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/message_verifier_rb.html">activesupport/lib/active_support/message_verifier.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/multibyte_rb.html">activesupport/lib/active_support/multibyte.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/multibyte/chars_rb.html">activesupport/lib/active_support/multibyte/chars.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/multibyte/unicode_rb.html">activesupport/lib/active_support/multibyte/unicode.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/notifications_rb.html">activesupport/lib/active_support/notifications.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/notifications/fanout_rb.html">activesupport/lib/active_support/notifications/fanout.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/notifications/instrumenter_rb.html">activesupport/lib/active_support/notifications/instrumenter.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/number_helper_rb.html">activesupport/lib/active_support/number_helper.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/option_merger_rb.html">activesupport/lib/active_support/option_merger.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/ordered_hash_rb.html">activesupport/lib/active_support/ordered_hash.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/ordered_options_rb.html">activesupport/lib/active_support/ordered_options.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/per_thread_registry_rb.html">activesupport/lib/active_support/per_thread_registry.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/proxy_object_rb.html">activesupport/lib/active_support/proxy_object.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/railtie_rb.html">activesupport/lib/active_support/railtie.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/rescuable_rb.html">activesupport/lib/active_support/rescuable.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/string_inquirer_rb.html">activesupport/lib/active_support/string_inquirer.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/subscriber_rb.html">activesupport/lib/active_support/subscriber.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/tagged_logging_rb.html">activesupport/lib/active_support/tagged_logging.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/test_case_rb.html">activesupport/lib/active_support/test_case.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/testing/assertions_rb.html">activesupport/lib/active_support/testing/assertions.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/testing/constant_lookup_rb.html">activesupport/lib/active_support/testing/constant_lookup.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/testing/declarative_rb.html">activesupport/lib/active_support/testing/declarative.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/testing/deprecation_rb.html">activesupport/lib/active_support/testing/deprecation.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/testing/isolation_rb.html">activesupport/lib/active_support/testing/isolation.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/testing/pending_rb.html">activesupport/lib/active_support/testing/pending.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/testing/setup_and_teardown_rb.html">activesupport/lib/active_support/testing/setup_and_teardown.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/testing/tagged_logging_rb.html">activesupport/lib/active_support/testing/tagged_logging.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/time_rb.html">activesupport/lib/active_support/time.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/time_with_zone_rb.html">activesupport/lib/active_support/time_with_zone.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/values/time_zone_rb.html">activesupport/lib/active_support/values/time_zone.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/version_rb.html">activesupport/lib/active_support/version.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/xml_mini_rb.html">activesupport/lib/active_support/xml_mini.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/xml_mini/jdom_rb.html">activesupport/lib/active_support/xml_mini/jdom.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/xml_mini/libxml_rb.html">activesupport/lib/active_support/xml_mini/libxml.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/xml_mini/libxmlsax_rb.html">activesupport/lib/active_support/xml_mini/libxmlsax.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/xml_mini/nokogiri_rb.html">activesupport/lib/active_support/xml_mini/nokogiri.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/xml_mini/nokogirisax_rb.html">activesupport/lib/active_support/xml_mini/nokogirisax.rb</a></li>
            
            <li><a href="../files/activesupport/lib/active_support/xml_mini/rexml_rb.html">activesupport/lib/active_support/xml_mini/rexml.rb</a></li>
            
        </ul>
    </div>
    <div id="bodyContent">
        <div id="content">
  


  


  
  


  
    <!-- Namespace -->
    <div class="sectiontitle">Namespace</div>
    <ul>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/Autoload.html">ActiveSupport::Autoload</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/Benchmarkable.html">ActiveSupport::Benchmarkable</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/Cache.html">ActiveSupport::Cache</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/Callbacks.html">ActiveSupport::Callbacks</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/Concern.html">ActiveSupport::Concern</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/Concurrency.html">ActiveSupport::Concurrency</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/Configurable.html">ActiveSupport::Configurable</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/Dependencies.html">ActiveSupport::Dependencies</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/DescendantsTracker.html">ActiveSupport::DescendantsTracker</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/Gzip.html">ActiveSupport::Gzip</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/Inflector.html">ActiveSupport::Inflector</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/JSON.html">ActiveSupport::JSON</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/Multibyte.html">ActiveSupport::Multibyte</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/Notifications.html">ActiveSupport::Notifications</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/NumberHelper.html">ActiveSupport::NumberHelper</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/PerThreadRegistry.html">ActiveSupport::PerThreadRegistry</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/Rescuable.html">ActiveSupport::Rescuable</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/TaggedLogging.html">ActiveSupport::TaggedLogging</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/Testing.html">ActiveSupport::Testing</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/XmlMini.html">ActiveSupport::XmlMini</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/XmlMini_LibXMLSAX.html">ActiveSupport::XmlMini_LibXMLSAX</a>
        </li>
      
        <li>
          <span class="type">MODULE</span>
          <a href="ActiveSupport/XmlMini_NokogiriSAX.html">ActiveSupport::XmlMini_NokogiriSAX</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/BacktraceCleaner.html">ActiveSupport::BacktraceCleaner</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/BufferedLogger.html">ActiveSupport::BufferedLogger</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/CachingKeyGenerator.html">ActiveSupport::CachingKeyGenerator</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/Deprecation.html">ActiveSupport::Deprecation</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/Duration.html">ActiveSupport::Duration</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/FileUpdateChecker.html">ActiveSupport::FileUpdateChecker</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/FileWatcher.html">ActiveSupport::FileWatcher</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/HashWithIndifferentAccess.html">ActiveSupport::HashWithIndifferentAccess</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/InheritableOptions.html">ActiveSupport::InheritableOptions</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/KeyGenerator.html">ActiveSupport::KeyGenerator</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/LogSubscriber.html">ActiveSupport::LogSubscriber</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/Logger.html">ActiveSupport::Logger</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/MessageEncryptor.html">ActiveSupport::MessageEncryptor</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/MessageVerifier.html">ActiveSupport::MessageVerifier</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/OrderedHash.html">ActiveSupport::OrderedHash</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/OrderedOptions.html">ActiveSupport::OrderedOptions</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/ProxyObject.html">ActiveSupport::ProxyObject</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/SafeBuffer.html">ActiveSupport::SafeBuffer</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/StringInquirer.html">ActiveSupport::StringInquirer</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/Subscriber.html">ActiveSupport::Subscriber</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/TestCase.html">ActiveSupport::TestCase</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/TimeWithZone.html">ActiveSupport::TimeWithZone</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/TimeZone.html">ActiveSupport::TimeZone</a>
        </li>
      
        <li>
          <span class="type">CLASS</span>
          <a href="ActiveSupport/XMLConverter.html">ActiveSupport::XMLConverter</a>
        </li>
      
    </ul>
  


  
    <!-- Method ref -->
    <div class="sectiontitle">Methods</div>
    <dl class="methods">
      
        <dt>E</dt>
        <dd>
          <ul>
            
              
              <li>
                <a href="ActiveSupport.html#method-c-execute_hook">execute_hook</a>
              </li>
            
          </ul>
        </dd>
      
        <dt>O</dt>
        <dd>
          <ul>
            
              
              <li>
                <a href="ActiveSupport.html#method-c-on_load">on_load</a>
              </li>
            
          </ul>
        </dd>
      
        <dt>R</dt>
        <dd>
          <ul>
            
              
              <li>
                <a href="ActiveSupport.html#method-c-run_load_hooks">run_load_hooks</a>
              </li>
            
          </ul>
        </dd>
      
        <dt>V</dt>
        <dd>
          <ul>
            
              
              <li>
                <a href="ActiveSupport.html#method-c-version">version</a>
              </li>
            
          </ul>
        </dd>
      
    </dl>
  

  



  

    

    

    


    


    <!-- Methods -->
    
      <div class="sectiontitle">Class Public methods</div>
      
        <div class="method">
          <div class="title method-title" id="method-c-execute_hook">
            
              <b>execute_hook</b>(base, options, block)
            
            <a href="ActiveSupport.html#method-c-execute_hook" name="method-c-execute_hook" class="permalink">Link</a>
          </div>
          
          
            <div class="description">
              
            </div>
          
          
          
          
          
            
            <div class="sourcecode">
              
              <p class="source-link">
                Source: 
                <a href="javascript:toggleSource('method-c-execute_hook_source')" id="l_method-c-execute_hook_source">show</a>
                
                  | <a href="https://github.com/rails/rails/blob/d71d5ba71fadf4219c466c0332f78f6e325bcc6c/activesupport/lib/active_support/lazy_load_hooks.rb#L34" target="_blank" class="github_url">on GitHub</a>
                
              </p>
              <div id="method-c-execute_hook_source" class="dyn-source">
                <pre><span class="ruby-comment"># File activesupport/lib/active_support/lazy_load_hooks.rb, line 34</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">self</span>.<span class="ruby-identifier">execute_hook</span>(<span class="ruby-identifier">base</span>, <span class="ruby-identifier">options</span>, <span class="ruby-identifier">block</span>)
  <span class="ruby-keyword">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:yield</span>]
    <span class="ruby-identifier">block</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">base</span>)
  <span class="ruby-keyword">else</span>
    <span class="ruby-identifier">base</span>.<span class="ruby-identifier">instance_eval</span>(&amp;<span class="ruby-identifier">block</span>)
  <span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
              </div>
            </div>
            
          </div>
        
        <div class="method">
          <div class="title method-title" id="method-c-on_load">
            
              <b>on_load</b>(name, options = {}, &amp;block)
            
            <a href="ActiveSupport.html#method-c-on_load" name="method-c-on_load" class="permalink">Link</a>
          </div>
          
          
            <div class="description">
              
            </div>
          
          
          
          
          
            
            <div class="sourcecode">
              
              <p class="source-link">
                Source: 
                <a href="javascript:toggleSource('method-c-on_load_source')" id="l_method-c-on_load_source">show</a>
                
                  | <a href="https://github.com/rails/rails/blob/d71d5ba71fadf4219c466c0332f78f6e325bcc6c/activesupport/lib/active_support/lazy_load_hooks.rb#L26" target="_blank" class="github_url">on GitHub</a>
                
              </p>
              <div id="method-c-on_load_source" class="dyn-source">
                <pre><span class="ruby-comment"># File activesupport/lib/active_support/lazy_load_hooks.rb, line 26</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">self</span>.<span class="ruby-identifier">on_load</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">options</span> = {}, &amp;<span class="ruby-identifier">block</span>)
  <span class="ruby-ivar">@loaded</span>[<span class="ruby-identifier">name</span>].<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">base</span><span class="ruby-operator">|</span>
    <span class="ruby-identifier">execute_hook</span>(<span class="ruby-identifier">base</span>, <span class="ruby-identifier">options</span>, <span class="ruby-identifier">block</span>)
  <span class="ruby-keyword">end</span>

  <span class="ruby-ivar">@load_hooks</span>[<span class="ruby-identifier">name</span>] <span class="ruby-operator">&lt;&lt;</span> [<span class="ruby-identifier">block</span>, <span class="ruby-identifier">options</span>]
<span class="ruby-keyword">end</span></pre>
              </div>
            </div>
            
          </div>
        
        <div class="method">
          <div class="title method-title" id="method-c-run_load_hooks">
            
              <b>run_load_hooks</b>(name, base = Object)
            
            <a href="ActiveSupport.html#method-c-run_load_hooks" name="method-c-run_load_hooks" class="permalink">Link</a>
          </div>
          
          
            <div class="description">
              
            </div>
          
          
          
          
          
            
            <div class="sourcecode">
              
              <p class="source-link">
                Source: 
                <a href="javascript:toggleSource('method-c-run_load_hooks_source')" id="l_method-c-run_load_hooks_source">show</a>
                
                  | <a href="https://github.com/rails/rails/blob/d71d5ba71fadf4219c466c0332f78f6e325bcc6c/activesupport/lib/active_support/lazy_load_hooks.rb#L42" target="_blank" class="github_url">on GitHub</a>
                
              </p>
              <div id="method-c-run_load_hooks_source" class="dyn-source">
                <pre><span class="ruby-comment"># File activesupport/lib/active_support/lazy_load_hooks.rb, line 42</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">self</span>.<span class="ruby-identifier">run_load_hooks</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">base</span> = <span class="ruby-constant">Object</span>)
  <span class="ruby-ivar">@loaded</span>[<span class="ruby-identifier">name</span>] <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">base</span>
  <span class="ruby-ivar">@load_hooks</span>[<span class="ruby-identifier">name</span>].<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">hook</span>, <span class="ruby-identifier">options</span><span class="ruby-operator">|</span>
    <span class="ruby-identifier">execute_hook</span>(<span class="ruby-identifier">base</span>, <span class="ruby-identifier">options</span>, <span class="ruby-identifier">hook</span>)
  <span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
              </div>
            </div>
            
          </div>
        
        <div class="method">
          <div class="title method-title" id="method-c-version">
            
              <b>version</b>()
            
            <a href="ActiveSupport.html#method-c-version" name="method-c-version" class="permalink">Link</a>
          </div>
          
          
            <div class="description">
              <p>Returns the version of the currently loaded <a
href="ActiveSupport.html">ActiveSupport</a> as a Gem::Version</p>
            </div>
          
          
          
          
          
            
            <div class="sourcecode">
              
              <p class="source-link">
                Source: 
                <a href="javascript:toggleSource('method-c-version_source')" id="l_method-c-version_source">show</a>
                
                  | <a href="https://github.com/rails/rails/blob/375d9a0a7fb329b0fbbd75a13e93e53a00520587/activesupport/lib/active_support/version.rb#L3" target="_blank" class="github_url">on GitHub</a>
                
              </p>
              <div id="method-c-version_source" class="dyn-source">
                <pre><span class="ruby-comment"># File activesupport/lib/active_support/version.rb, line 3</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">self</span>.<span class="ruby-identifier">version</span>
  <span class="ruby-constant">Gem</span><span class="ruby-operator">::</span><span class="ruby-constant">Version</span>.<span class="ruby-identifier">new</span> <span class="ruby-string">&quot;4.0.0&quot;</span>
<span class="ruby-keyword">end</span></pre>
              </div>
            </div>
            
          </div>
                        </div>

    </div>
  </body>
</html>    